package org.aswing;

extern class JScrollPane extends Container {
	function new(?p0 : Dynamic, ?p1 : Int, ?p2 : Int) : Void;
	function addAdjustmentListener(p0 : Dynamic, ?p1 : Int, ?p2 : Bool) : Void;
	function getHorizontalScrollBar() : JScrollBar;
	function getHorizontalScrollBarPolicy() : Float;
	function getVerticalScrollBar() : JScrollBar;
	function getVerticalScrollBarPolicy() : Float;
	function getViewport() : Viewportable;
	function getViewportView() : Component;
	function getVisibleRect() : org.aswing.geom.IntRectangle;
	function removeAdjustmentListener(p0 : Dynamic) : Void;
	function setHorizontalScrollBar(p0 : JScrollBar) : Void;
	function setHorizontalScrollBarPolicy(p0 : Float) : Void;
	function setVerticalScrollBar(p0 : JScrollBar) : Void;
	function setVerticalScrollBarPolicy(p0 : Float) : Void;
	function setView(p0 : Dynamic) : Void;
	function setViewport(p0 : Viewportable) : Void;
	function setViewportView(p0 : Component) : Void;
	static var SCROLLBAR_ALWAYS : Int;
	static var SCROLLBAR_AS_NEEDED : Int;
	static var SCROLLBAR_NEVER : Int;
}
